import componentSetting from '@/setting/component-setting';

export const densityOptions = [
  {
    type: 'menu',
    label: '紧凑',
    key: 'small',
  },
  {
    type: 'menu',
    label: '默认',
    key: 'medium',
  },
  {
    type: 'menu',
    label: '宽松',
    key: 'large',
  },
];

const { table } = componentSetting;

const { apiSetting, defaultPageSize, pageSizes } = table;

export const DEFAULTPAGESIZE = defaultPageSize;

export const APISETTING = apiSetting;

export const PAGESIZES = pageSizes;
